let timeLine = []

for (let i = 6; i < 21; i++) {
  const time = i < 10 ? '0' + i : i
  timeLine = timeLine.concat([
    {
      prop: time + ':00',
      label: time + ':00'
    },
    {
      prop: time + ':30',
      label: time + ':30'
    }
  ])
}

console.log(timeLine)

export const columnsObj = [
  {
    key: 'timeline',
    title: '每日保育时间轴',
    column: [
      {
        prop: 'childrenName',
        label: '姓名',
        rest: {
          fixed: 'left'
        }
      },
      {
        prop: 'gender',
        label: '保育',
        rest: {
          fixed: 'left'
        }
      },
      ...timeLine
    ]

  }

  // {
  //   key: 'teachRecord',
  //   title: '每日教学记录',
  //   column: [
  //     {
  //       prop: 'childrenName',
  //       label: '姓名'
  //     },
  //     {
  //       prop: 'gender',
  //       label: '保育'
  //     }
  //   ]
  // }
]

export const exhortColumn = [
  {
    prop: 'childrenName',
    label: '发送对象'
  },
  {
    prop: 'sendTime',
    label: '发送时间'
  },
  {
    prop: 'content',
    label: '内容'
  },
  {
    prop: 'status',
    label: '状态'
  },
  {
    prop: 'action',
    label: '操作'
  }
]
